
package za.ac.cput.peter.SoftwareDesignPrincipals.DIP.DIPViolation.Impl;

public class SuperCar 
{
    private Car c;

    public Car getC() { return c; }
    public void setC(Car c) { this.c = c; }  
    
    public void performance(){ c.ride(); }
}
